#ifndef HARMONY_CRYPTO_STR_HEX_H
#define HARMONY_CRYPTO_STR_HEX_H

#ifdef __cplusplus
extern "C" {
#endif

void hexstr_to_byte(const char *source, unsigned int sourceLen, unsigned char *dest);

void byte_to_hexstr(const unsigned char *source, unsigned int sourceLen, char *dest);

void uint_to_byte(unsigned int source, unsigned char *dest);

void byte_to_uint(const unsigned char *source, unsigned int *dest);

void ushort_to_byte(unsigned short source, unsigned char *dest);

void byte_to_ushort(const unsigned char *source, unsigned short *dest);

#ifdef __cplusplus
}
#endif
#endif // HARMONY_CRYPTO_STR_HEX_H
